package com.kim.smartring.db.model;

import java.io.Serializable;

public class SleepRecord implements Serializable {

	private int _id;
	private String sid; // 睡眠质量数据记录唯一标识
	private int sType; // 睡眠类型（睡眠类型：0：醒来；1：深度睡眠；2：浅度睡眠）
	private long sTime; // 睡眠持续时间 精确到分
	private long sRecordTime; // 睡眠数据记录时间
	private long synchronousTime; // 睡眠所属日期
	private int sSyncState; // 数据质量数据记录同步状态（0：未同步；1：同步成功）

	private String yearMonth; // 记录年月 格式：yyyy-mm
	private String day; // 记录日期 格式dd

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public int getsType() {
		return sType;
	}

	public void setsType(int sType) {
		this.sType = sType;
	}

	public long getsTime() {
		return sTime;
	}

	public void setsTime(long sTime) {
		this.sTime = sTime;
	}

	public int getsSyncState() {
		return sSyncState;
	}

	public void setsSyncState(int sSyncState) {
		this.sSyncState = sSyncState;
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public long getsRecordTime() {
		return sRecordTime;
	}

	public void setsRecordTime(long sRecordTime) {
		this.sRecordTime = sRecordTime;
	}

	public long getSynchronousTime() {
		return synchronousTime;
	}

	public void setSynchronousTime(long synchronousTime) {
		this.synchronousTime = synchronousTime;
	}

	@Override
	public String toString() {
		return "SleepRecord [_id=" + _id + ", sid=" + sid + ", sType=" + sType
				+ ", sTime=" + sTime + ", sRecordTime=" + sRecordTime
				+ ", synchronousTime=" + synchronousTime + ", sSyncState="
				+ sSyncState + ", yearMonth=" + yearMonth + ", day=" + day
				+ "]";
	}

}
